/*
 * MainWindow.cpp
 *
 *  Created on: 28/05/2014
 *      Author: lucio
 */

#include "MainWindow.h"
#include "SDLGameWindow.h"
#include <glibmm/refptr.h>
#include <gtkmm/builder.h>
#include <gtkmm.h>
#include <gtkmm/window.h>

void MainWindow::WindowInit(){
	SDL_GameWindow window;
	window.execute();
}

MainWindow::MainWindow() {
	this->button.add_pixlabel("info.xpm", "cool button");

	this->button.signal_clicked().connect
			(sigc::mem_fun(*this, &MainWindow::WindowInit));

	this->add(this->button);

	this->show_all();

}

MainWindow::~MainWindow() {

}

